package point2d9_2_5_3;

public class TestPoint {
	public static void main(String[] args) throws CloneNotSupportedException {
		Point2D point2d = new Point2D(1.0f, 2.0f);
		Point2D point3d = new Point3D(1.0f, 2.0f, 3.0f);
		Point2D point2d2 = (Point2D) point2d.clone();
		System.out.println(point2d);
		System.out.println(point3d);
		System.out.println(point2d2);

	}
}
